import { Outlet } from 'react-router-dom'

import { AuthGuard } from './AuthGuard'
import { Tabbar } from './Tabbar'

export default function RootPage() {
  return (
    <AuthGuard>
      <Outlet />
      <Tabbar />
    </AuthGuard>
  )
}
